
/*
a3=3 a4=2 in a
b3=2 b5=3

[5, 1, 3, 2, 4]

[1, 2, 3, 4, 5]

[4, 5, 2, 1, 3]
*/